package com.example.common;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author wangbin
 */
@RestController
public class CommonController {
    @GetMapping({"/", "/environment", "synchronization"})
    public ModelAndView index() {
        return new ModelAndView("index");
    }
}
